﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MacroRecorder.Macro.EventParam
{
    class ParamServer
    {
        public ParamServer()
        {
            FirstParam = new MacroEventParam();
            SecondParam = new MacroEventParam();
            RuningTexts = new List<string>();
            TimeOut = 5000;
        }
        /// <summary>
        /// 检测流程参数
        /// </summary>
        public MacroEventParam FirstParam { get; set; }
        /// <summary>
        /// 查找结果区域流程参数
        /// </summary>
        public MacroEventParam SecondParam { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        public string ModelName { get; set; }
        /// <summary>
        /// 测试窗体类名
        /// </summary>
        public string ClassName { get; set; }
        /// <summary>
        /// 测试窗体标题
        /// </summary>
        public string TitleName { get; set; }
        /// <summary>
        /// 超时参数
        /// </summary>
        public int TimeOut { get; set; }
        /// <summary>
        /// 颜色识别坐标X
        /// </summary>
        public int ColorX { get; set; }
        /// <summary>
        /// 颜色识别坐标Y
        /// </summary>
        public int ColorY { get; set; }
        /// <summary>
        /// 测试状态结果区文本
        /// </summary>
        public List<string> RuningTexts { get; set; }
        /// <summary>
        /// 结果提取方式
        /// </summary>
        public ExtractEnum ExtractType { get; set; }
    }
}
